// Filename: views/projects/list
define([
  'jquery',
  'underscore',
  'backbone',
  // Pull in the Collection module from above,
  'models/admin/ApproveUsersModel',
  'collections/admin/ApproveUsersCollection',
  'text!templates/admin/approveUsersListTemplate.html'

], function($, _, Backbone, ApproveUsersModel, ApproveUsersCollection, approveUsersListTemplate){
  var ApproveUsersListView = Backbone.View.extend({
    el: $("#approveusers"),

    render: function(){
      var data = {
        users: this.collection.models,
        _: _ 
      };

      var compiledTemplate = _.template( approveUsersListTemplate, data );
      $("#approveusers").html( compiledTemplate ); 
    }
  });
  return ApproveUsersListView ;
});
